package lab02.test10;


public class People {
    //属性：姓名、国籍
     String name;
     String nationnality;
    //行为：吃饭、睡觉
    void eat(){}
    void sleep(){}
    String getString(){return name+"|"+nationnality;}
    //构造函数
    People(){}
}
